package com.linln.modules.system.repository;

import com.linln.modules.system.domain.PatientBaseInfoEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface RPatientBaseInfoRepository extends JpaRepository<PatientBaseInfoEntity,Long> {

    public List<PatientBaseInfoEntity> findAllById(Long id);
    public PatientBaseInfoEntity findById(Integer id);
    public PatientBaseInfoEntity findByBahAndCyrq(String bah, Date cyrq);
}
